﻿using Blog.Model;
using IBaseRepository;
using IBaseService;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
	
namespace BaseService
{
	public class DisLikeRelationService:BaseService<DisLikeRelation>,IDisLikeRelationService
	{
		//在当前接口当中 注入自己的服务不能是自己的，不然会产生依赖循环的报错
		//这边的应用情景是注入的服务应该是仓库类的服务
		private readonly IDisLikeRelationRepository _disLikeRelationRepository;

		public DisLikeRelationService(IDisLikeRelationRepository disLikeRelationRepository)
		{
			base.baseRepository = disLikeRelationRepository;
			_disLikeRelationRepository = disLikeRelationRepository;
		}


	}
}
